<template>
  <div class="box">
    <div class="box1">
      <img src="/static/imgs_s01/s01_background.png" alt />
      <div></div>
      <p>汇方圆</p>
    </div>
    <div class="boxz">
      <div class="box2">
        <div>
          <img class="img1" src="/static/imgs_s01/s01_pic01.png" alt />
          <p class="p1">内蒙古烤羊肉串</p>
          <p class="p2">¥36.00</p>
          <img class="img2" src="/static/imgs_s01/s01_delete.png" alt />
          <img class="img3" src="/static/imgs_s01/s01_jianshao.png" alt />
          <p class="p3">1</p>
          <img class="img4" src="/static/imgs_s01/s01_zengjia.png" alt />
        </div>
        <div>
          <img class="img1" src="/static/imgs_s01/s01_pic01.png" alt />
          <p class="p1">长沙臭豆腐</p>
          <p class="p2">¥24.00</p>
          <img class="img2" src="/static/imgs_s01/s01_delete.png" alt />
          <img class="img3" src="/static/imgs_s01/s01_jianshao.png" alt />
          <p class="p3">2</p>
          <img class="img4" src="/static/imgs_s01/s01_zengjia.png" alt />
        </div>
        <div>
          <img class="img1" src="/static/imgs_s01/s01_pic01.png" alt />
          <p class="p1">关东煮</p>
          <p class="p2">¥9.90</p>
          <img class="img2" src="/static/imgs_s01/s01_delete.png" alt />
          <img class="img3" src="/static/imgs_s01/s01_jianshao.png" alt />
          <p class="p3">2</p>
          <img class="img4" src="/static/imgs_s01/s01_zengjia.png" alt />
        </div>
      </div>
      <div class="box3">
        <div>
          <span class="span1">用餐方式</span>
          <span class="span2">食堂</span>
        </div>
        <div>
          <span class="span3">添加桌号</span>
          <span class="span4">请输入桌号</span>
        </div>
      </div>
      <div class="box4">
        <p class="pa">备注信息</p>
        <p class="pb">口味、偏好等要求</p>
      </div>
      <div class="box5">
        <div class="box5-1">
          <span class="sp1">订单总额</span>
          <span class="sp2">¥79.80</span>
        </div>
        <div class="box5-2">
          <span class="sp3">优惠金额</span>
          <span class="sp4">-¥0.00</span>
        </div>
        <div class="box5-3">
          <span class="sp5">需付款</span>
          <span class="sp6">¥79.80</span>
        </div>
      </div>
    </div>
    <div class="box6">
      <p class="z1">合计：</p>
      <p class="z2">¥79.80</p>
      <p class="z3">共 3 份商品</p>
      <div>提交订单</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  methods: {},

  created() {
    // let app = getApp()
  }
};
</script>

<style scoped>
.box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4f4f4;
  width: 100%;
  /* height: 800px; */
}

.box1 {
  width: 100%;
  height: 205px;
  z-index: 1;
  padding-bottom: 550px;
}

.box1 img {
  width: 100%;
  height: 205px;
}

.box1 div {
  position: absolute;
  top: 15px;
  left: 13px;
  width: 23px;
  height: 23px;
  background: rgba(255, 255, 255, 1);
  border-radius: 3px;
}

.box1 p {
  position: absolute;
  top: 18px;
  left: 43px;
  font-size: 17px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  color: rgba(255, 255, 255, 1);
}

.boxz {
  position: absolute;
  top: 57px;
  background-color: #f4f4f4;
  border-radius: 9px;
  z-index: 55;
}

.box2 {
  width: 350px;
  height: 257px;
  background: rgba(255, 255, 255, 1);
  border-radius: 9px;
}

.box2 div {
  position: relative;
  width: 100%;
  height: 85px;
  border-bottom: 1px solid rgba(237, 237, 237, 1);
}

.box2 .img1 {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 66px;
  height: 66px;
}

.box2 .p1 {
  position: absolute;
  top: 15px;
  left: 85px;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  color: rgba(51, 51, 51, 1);
}

.box2 .p2 {
  position: absolute;
  top: 42px;
  left: 84px;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  color: rgba(232, 91, 77, 1);
}

.box2 .img2 {
  position: absolute;
  top: 13px;
  left: 319px;
  width: 19px;
  height: 19px;
}

.box2 .img3 {
  position: absolute;
  top: 56px;
  left: 275px;
  width: 21px;
  height: 21px;
}

.box2 .p3 {
  position: absolute;
  top: 56px;
  left: 304px;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: bold;
  color: rgba(44, 44, 47, 1);
}

.box2 .img4 {
  position: absolute;
  top: 56px;
  left: 318px;
  width: 21px;
  height: 21px;
}

.box3 {
  width: 350px;
  height: 97px;
  margin-top: 9px;
  background: rgba(255, 255, 255, 1);
  border-radius: 9px;
}

.box3 div {
  width: 100%;
  height: 28px;
  padding-top: 20px;
  border-bottom: 1px solid rgba(237, 237, 237, 1);
}

.box3 .span1 {
  margin-left: 13px;
  font-size: 13px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: rgba(51, 51, 51, 1);
}

.box3 .span2 {
  margin-left: 246px;
  font-size: 13px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box3 .span3 {
  margin-left: 13px;
  font-size: 13px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: rgba(51, 51, 51, 1);
}

.box3 .span4 {
  margin-left: 205px;
  font-size: 13px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: rgba(163, 165, 168, 1);
}

.box4 {
  width: 350px;
  height: 93px;
  padding-top: 16px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 1);
  border-radius: 9px;
}

.box4 .pa {
  margin-left: 14px;
  font-size: 13px;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box4 .pb {
  margin-top: 13px;
  margin-left: 15px;
  font-size: 13px;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(163, 165, 168, 1);
}

.box5 {
  width: 350px;
  height: 106px;
  padding-top: 19px;
  margin-top: 9px;
  background: rgba(255, 255, 255, 1);
  border-radius: 9px;
  /* padding-bottom: 80px; */
}

.box5 .box5-2 {
  margin-top: 14px;
}

.box5 .box5-3 {
  margin-top: 25px;
}

.box5 .sp1 {
  margin-left: 13px;
  font-size: 13px;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box5 .sp2 {
  margin-left: 227px;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box5 .sp3 {
  margin-left: 13px;
  font-size: 13px;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box5 .sp4 {
  margin-left: 230px;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box5 .sp5 {
  margin-left: 13px;
  font-size: 13px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box5 .sp6 {
  margin-left: 226px;
  font-size: 17px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  color: rgba(246, 83, 88, 1);
}

.box6 {
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 45px;
  background-color: white;
  z-index: 999;
}

.box6 .z1 {
  position: absolute;
  left: 24px;
  top: 11px;
  font-size: 12px;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.box6 .z2 {
  position: absolute;
  top: 10px;
  left: 56px;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  color: rgba(246, 83, 88, 1);
}

.box6 .z3 {
  position: absolute;
  top: 30px;
  left: 24px;
  font-size: 10px;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(144, 144, 144, 1);
}

.box6 div {
  position: absolute;
  top: 0;
  left: 248px;
  width: 127px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  background: rgba(50, 177, 108, 1);
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
}
</style>
